package com.test.runners;

import com.test.utils.ReportUtils;
import io.cucumber.testng.AbstractTestNGCucumberTests;
import io.cucumber.testng.CucumberOptions;
import org.testng.annotations.AfterClass;


@CucumberOptions(
        features = {"src/test/resources/features/login.feature"},
        glue = {"com.test.steps"},
        plugin ={"pretty","html:target/cucumber","json:target/json-report/run.json"},
        monochrome = true
)
public class Runner extends AbstractTestNGCucumberTests {

    @AfterClass
    public static void afterClass(){
        ReportUtils report = new ReportUtils();
        report.generateCucumberReport();
    }
}
